@istest
public class searchpagetestcls
{
public static testmethod void searchtest()
{
pagereference pr = page.searchpage;
Test.setcurrentpagereference(pr);
Searchpagecontroller spc = new Searchpagecontroller();
spc.search();
spc.recinfo();
}
}